package com.stone.boot.file.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 阿里云OSS基础配置
 *
 * @author Mr_wenpan@163.com 2021/08/19 15:10
 */
@Data
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunOssBaseProperty {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;

    private Long maxSize;

    private String callback;

    static class Policy {
        private Long expire;
    }

    static class dir {
        private String prefix;
    }
}
